package com.baizan.daka.ui.contract

import com.baizan.daka.base.IPresenter
import com.baizan.daka.base.IView
import com.baizan.daka.mvp.model.bean.BannerBean
import com.baizan.daka.mvp.model.bean.NewsDetailBean
import com.baizan.daka.mvp.model.bean.NewsInfoBean
import com.baizan.daka.mvp.model.bean.TaskInfoBean
import com.baizan.daka.net.BasePageResponse

interface NewsContract {
    interface View : IView {
        fun loadNewsListSuccess(data: BasePageResponse<NewsInfoBean>)

        fun loadNewsListFail()
    }

    interface Presenter : IPresenter {

        fun loadNewsList( pageNo:Int)

    }
}
interface NewsDesContract {
    interface View : IView {
        fun loadNewsDesSuccess(data: NewsDetailBean)

        fun loadNewsDesFail()
    }

    interface Presenter : IPresenter {

        fun loadNewsDes( id:Long)

    }
}